package game.source.gui.shot;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

/**
 *GuiShotBasic:
 *	Armazena a imagem do tiro mais básico.
 */
public class GuiShotBasic extends GuiShot{
	private static BufferedImage image;
	
	static{
		try {
			GuiShotBasic.image = ImageIO.read(new File(GuiShotBasic.class.getResource("/images/shots/basic.png").getFile()));
		} catch (IOException e) {
			e.printStackTrace();
			System.err.println("Arquivo: "+GuiShotBasic.class.getResource("/images/shots/basic.png")+" não pode ser aberto");
			System.exit(1);
		}
	}
	
	@Override
	public BufferedImage getImage() {
		return GuiShotBasic.image;
	}
}
